class UserNameConverter:
    regex = '[a-z0-9]{8,20}'

    def to_python(self, value):
        return str(value)

    def to_url(self, value):
        return str(value)

